package com.etl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: etl日志表
 *
 * @author chaixuhong
 * @date 2019-09-07
 */
@Data
@ApiModel("etl日志表")
@Accessors(chain = true)
public class EtlTaskLog implements Serializable {

    private static final long serialVersionUID = 7698369849850950287L;
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    private Long logId;

    @ApiModelProperty(value = "任务类型")
    private String logType;

    @ApiModelProperty(value = "任务id")
    private Long kid;

    @ApiModelProperty(value = "日志id")
    private Long batchId;

    @ApiModelProperty(value = "0:失败，1：成功")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "执行人账号")
    private String accountName;
}
